package org.fjsei.yewu.job.controller.model;
//import org.springframework.data.domain.Pageable;
import java.time.LocalDate;

public class TestJobRequest {
    public final int type;
    public final Integer spltnum;
    public final String keyword;

    public final String abbreviation;

    public final LocalDate date;

    public final Long allrows;
    public final Integer pagesize;
    //@Get 接口参数 Pageable: 自动从URL提取注入的Pageable数据;  例子 /services/search?q=江&page=499&size=20&sort=id&sort=no,desc
   //public final Pageable page; 只能用在URL上面的 不是Body{}

    public TestJobRequest(int type, Integer slotnum, String keyword, String abbreviation, LocalDate date, Long allrows, Integer pagesize) {
        this.type = type;
        this.spltnum = slotnum;
        this.keyword = keyword;
        this.abbreviation = abbreviation;
        this.date = date;
        this.allrows = allrows;
        this.pagesize = pagesize;
    }
}
